package com.yoga.mapper;

import com.yoga.entity.YogaCoachprivate;
import com.yoga.entity.YogaCoachprivateExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface YogaCoachprivateDao {
    long countByExample(YogaCoachprivateExample example);

    int deleteByExample(YogaCoachprivateExample example);

    int deleteByPrimaryKey(Integer cpid);

    int insert(YogaCoachprivate record);

    int insertSelective(YogaCoachprivate record);

    List<YogaCoachprivate> selectByExample(YogaCoachprivateExample example);

    YogaCoachprivate selectByPrimaryKey(Integer cpid);

    int updateByExampleSelective(@Param("record") YogaCoachprivate record, @Param("example") YogaCoachprivateExample example);

    int updateByExample(@Param("record") YogaCoachprivate record, @Param("example") YogaCoachprivateExample example);

    int updateByPrimaryKeySelective(YogaCoachprivate record);

    int updateByPrimaryKey(YogaCoachprivate record);
}